package com.cljh.service;

import com.cljh.bean.Article;
import com.cljh.controller.page.PageBean;
import com.cljh.controller.page.ProductPageBean;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

public interface ArticleService {
    PageBean<Article> selectAllByCondition(Integer currentPage, Integer pageSize, Article article);

    boolean save(Article article);

    boolean update( Article article);

    boolean deleteByIds(List<Integer> ids);


    Article selectById(Integer id);


    boolean deleteById(Integer id);

    List<Article> ArticleList();

    List<Article> selectByAdmin(Integer id);


}
